import { CoolController, BaseController, TagTypes, CoolUrlTag } from '@cool-midway/core';
import { LayoutEntity } from '../../entity/layout';

@CoolController({
  api: ['page', 'info', 'add', 'update', 'delete'],
  entity: LayoutEntity,
  pageQueryOp: {
    keyWordLikeFields: ['title'],
    fieldEq: ['a.isVisible'],
  },
})
export class AdminLayoutController extends BaseController {}
